package com.ocom.company.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ocom.common.entity.card.EntityXfMerchPayInfo;
import com.ocom.common.vo.company.MerchPayCountVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IDaoXfMerchPayInfo extends BaseMapper<EntityXfMerchPayInfo> {

	@Select("select com_id as comId , count(company_id) as nowChannelNum   " +
			"from xf_merch_pay_info " +
//			"where status = 0 " +
			"group by com_id " )
	public List<MerchPayCountVo> selectMerchPayCount();


}
